home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 002 / emacs.arc / EMACS.DOC next >
Encoding:
Text File  |  1985-06-24  |  3.6 KB  |  104 lines

  1. MS-DOS Emacs 4.12, DOS 2+
  2.  
  3. This is a port of a very old version of emacs from (I recently found out)
  4. the public domain. It has many features removed from it, but still retains
  5. the things that make emacs great to use.
  6.  
  7. Major missing features are moc lisp and    regular expressions. On the features
  8. side are up to 12 buffers, two windows, shell commands (esc-!).
  9.  
  10. If, when reading in a new file (^X^F), you get the message, "READ" and
  11. emacs quits, you have probably run out of available files. Add the line
  12. "files = 20" to your /config.sys file and reboot. emacs uses a lot of
  13. files, approx 2 per buffer + one for messages.
  14.  
  15. Installation
  16. ------------
  17.  
  18. Make sure you have a "set TERM=ansi" in your autoexec.bat file. Any terminal
  19. can be used as long as you place an appropriate entry in /emacs/termcap.
  20. A termcap entry for the ansi driver is supplied. You need "device = ansi.sys"
  21. in config.sys to load this at boot time. This is used by terminal drivers which
  22. were modeled after the unix termcap drivers.
  23.  
  24. Create a directory called "/emacs". The easiest thing to do is extract all
  25. of the files into this directory and add "/emacs" to your path
  26. (path=/system;/emacs). Emacs will create temporary files here and if it
  27. crashes, dump the active buffers here. All of emacs's files (errfile,
  28. helpfile, termcap) must be located in this directory.
  29.  
  30. I've never tested this running out of memory or disk space. My guess is that
  31. it will come crashing down in a somewhat controlled fashion.
  32.  
  33. Brad Parker 4/85
  34.  
  35. Small summary of commands:
  36. --------------------------
  37.  
  38. ^A - move to begining of line
  39. ^B - back one char
  40. ^C - cap next char
  41. ^D - del next char
  42. ^E - move to end of line
  43. ^F - move forward one char
  44. ^G - general "abort command"
  45. ^K - kill from cursor to eol
  46. ^L - redisplay screen
  47. ^N - next line
  48. ^O - open line (insert line)
  49. ^P - previous line
  50. ^Q - "quote" next char (allows inserting of control chars)
  51. ^R - reverse search (hit again to reuse last arg)
  52. ^S - forward search ("    "    "   "     "    ")
  53. ^T - transpose last two chars
  54. ^U - sets "arg" to 4
  55. ^V - scroll down one page (esc-v for back one page)
  56. ^W - kill from mark to cursor
  57. ^Y - yank from kill buffer - insert at cursor
  58. ^Z - quick exit
  59.  
  60. ^X commands:
  61. ------------
  62. ^X 2    two window mode
  63. ^X 1    one window mode
  64. ^X B    switch to buffer (name can be buffer number)
  65. ^X^B    view buffers
  66. ^X^C    save current buffer and exit
  67. ^X^E    push emacs (recursively envoke edit)
  68. ^X^F    read file into new buffer
  69. ^X^I    input commands from file  (reads file as if it was keyboard)
  70. ^X^K    kill buffer (name can be buffer number)
  71. ^X^M    set mode variable
  72. ^X^N    change buffer name
  73. ^X^O    switch to other window
  74. ^X^R    read file into current buffer
  75. ^X^S    write current buffer to it's file name
  76. ^X^T    copy kill buffer into buffer (may be mark to cursor?)
  77. ^X^W    write current buffer to new file name
  78. ^X^X    set mark, and move to previous marked position
  79.  
  80. esc ("meta") commands:
  81. ----------------------
  82. esc-space set mark at cursor
  83. esc-<    move to begining of buffer
  84. esc->    move to end of buffer
  85. esc-!    execute a command
  86. esc-?    explain a character
  87.  
  88. esc-a    move to begining of sentence
  89. esc-b    move back one word
  90. esc-c    capitalize next word
  91. esc-d    delete next word
  92. esc-e    move to end of sentence
  93. esc-f    move forward one word
  94. esc-g    move to top of buffer
  95. esc-m    view mode variables
  96. esc-p    copy from mark to cursor into kill buffer
  97. esc-q    insert "meta" quoted char
  98. esc-r    query replace
  99. esc-t    set terminal type
  100. esc-v    scroll back one page
  101. esc-y    replace current mark to cursor with kill buffer?
  102. esc-z    abort emacs
  103. esc-^F    show free memory
  104.